package threading;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-03-17
 * Time: 20:00
 */
public class ThreadDemo3 {
    public static void main(String[] args) throws InterruptedException {
        Thread t=new Thread(()->{
            System.out.println("hello t");

        });
        t.start();
        t.join();
        System.out.println("hello main");

    }
}
